package com.tiny.work.pattern.decorator;

public class RedShapeDecorator extends ShapeDecorator{

    RedShapeDecorator(Shape shape) {
        super(shape);
    }

    @Override
    public void drew() {
        super.drew();
        addDecorator();
    }

    @Override
    public void addDecorator() {
        setRedBorder(shape);

    }

    private void setRedBorder(Shape decoratedShape){
        System.out.println("Border Color: Red");
    }
}
